﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_CM_GetAllLinkmanFromClient]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_CM_GetAllLinkmanFromClient];
GO
CREATE PROCEDURE [dbo].[sproc_CM_GetAllLinkmanFromClient]
@clientid int

AS

    SELECT Name,id FROM UDS_CM_Linkman 
    WHERE clientid=@clientid